import pandas as pd

df1=pd.DataFrame(
    {"语文":[67,56,100],
     "数学":[78,79,99],
     "英语":[99,83,98]},
     index=["张三","李四","王五"])
df2=pd.DataFrame(
{"历史":[67,56,100],
     "地理":[78,79,99],
     "日语":[99,83,98]},
     index=["王六","刘七","赵八"])
#df=df1 .iloc[0:2,[0,1]]
#print(df)
#df=df1.groupby(by="语文")
#print(df1)
#df=pd.melt(df1)
#print(df1)
#df=pd.concat([df1,df2], axis=1)
#print(df)


